﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Sys.Repository.Entities
{
    /// <summary>
    /// 用户评论
    /// </summary>
    [Table("sys_RedNewsUseComments"), Comment("用户评论"),Index(nameof(RedNewsId))]
    public class RedNewsUseComments : EfEntity
    {
        /// <summary>
        /// 小红书ID
        /// </summary>
        [Comment("小红书ID")]
        public long RedNewsId { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        [Comment("用户ID")]
        public long User { get; set; }
        /// <summary>
        /// 评论
        /// </summary>
        [Comment("评论")]
        public string Content { get; set; }
        /// <summary>
        /// 评论时间
        /// </summary>
        [Comment("评论时间")]
        public DateTime CreateDate { get; set; } = DateTime.Now;
    }
}
